package com.d.business.domain;

import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 钉钉审批流程记录表
 *
 * @author wang
 * @email wangfst@foxmail.com
 * @date 2024-03-22 13:40:23
 */
@Accessors(chain = true)
public class DingProcessRecordsDO implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //钉钉表单实例唯一标识
    private String instanceId;
    //1采购计划2采购3付款4合同
    private Integer businessType;
    //业务单号，对应erp流水号
    private String businessNo;
    //审批人钉钉id
    private String staffId;
    //审批结果，取值agree同意disagree：拒绝
    private String result;
    //操作时写的评论内容。
    private String remark;
    //
    private String instanceStatus;
    //审批时间
    private Date finishTime;
    //系统时间
    private Date createdTime;

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    /**
     * 设置：1采购计划2采购3后补采购4付款5合同
     */
    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    /**
     * 获取：1采购计划2采购3付款4合同
     */
    public Integer getBusinessType() {
        return businessType;
    }

    /**
     * 设置：业务单号，对应erp流水号
     */
    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo;
    }

    /**
     * 获取：业务单号，对应erp流水号
     */
    public String getBusinessNo() {
        return businessNo;
    }

    /**
     * 设置：审批人钉钉id
     */
    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    /**
     * 获取：审批人钉钉id
     */
    public String getStaffId() {
        return staffId;
    }

    /**
     * 设置：审批结果，取值agree同意disagree：拒绝
     */
    public void setResult(String result) {
        this.result = result;
    }

    /**
     * 获取：审批结果，取值agree同意disagree：拒绝
     */
    public String getResult() {
        return result;
    }

    /**
     * 设置：操作时写的评论内容。
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取：操作时写的评论内容。
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置：
     */
    public void setInstanceStatus(String instanceStatus) {
        this.instanceStatus = instanceStatus;
    }

    /**
     * 获取：
     */
    public String getInstanceStatus() {
        return instanceStatus;
    }

    /**
     * 设置：审批时间
     */
    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    /**
     * 获取：审批时间
     */
    public Date getFinishTime() {
        return finishTime;
    }

    /**
     * 设置：系统时间
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * 获取：系统时间
     */
    public Date getCreatedTime() {
        return createdTime;
    }

}
